package org.agile2soft.nexoma.tapestry.pages;

import org.apache.tapestry5.EventConstants;
import org.apache.tapestry5.annotations.OnEvent;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.slf4j.Logger;

/**
 * Start page of application geloa2.
 */
public class Index
{
	@Inject 
	private Logger logger;
	
	@OnEvent(value=EventConstants.ACTIVATE)
	Object doForward() {
		logger.info("Forward to the main page");
		return Portal.class;
	}
	
}
